package benchmarks.tpch.mongo.dto;

import org.mongodb.morphia.annotations.Embedded;

import java.util.Date;

@Embedded
public class OrderDto {
    private int orderkey; //primary
    private String orderstatus;
    private double totalprice;
    private Date orderdate;
    private String orderpriority;
    private String clerk;
    private int shippriority;
    private String comment;
    @Embedded
    private CustomerDto customer;

    public OrderDto() {
    }

    public int getOrderkey() {
        return orderkey;
    }

    public void setOrderkey(int orderkey) {
        this.orderkey = orderkey;
    }

    public String getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(String orderstatus) {
        this.orderstatus = orderstatus;
    }

    public double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(double totalprice) {
        this.totalprice = totalprice;
    }

    public Date getOrderdate() {
        return orderdate;
    }

    public void setOrderdate(Date orderdate) {
        this.orderdate = orderdate;
    }

    public String getOrderpriority() {
        return orderpriority;
    }

    public void setOrderpriority(String orderpriority) {
        this.orderpriority = orderpriority;
    }

    public String getClerk() {
        return clerk;
    }

    public void setClerk(String clerk) {
        this.clerk = clerk;
    }

    public int getShippriority() {
        return shippriority;
    }

    public void setShippriority(int shippriority) {
        this.shippriority = shippriority;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public CustomerDto getCustomer() {
        return customer;
    }

    public void setCustomer(CustomerDto customer) {
        this.customer = customer;
    }
}
